<template>
  <div>
    <van-nav-bar :title="title" left-text="" left-arrow @click-left="onClickLeft" />
  </div>
</template>

<script>
export default {
  data () {
    return {}
  },
  props: ['title'],
  methods: {
    onClickLeft () {
      this.$router.back()
    }
  }
}
</script>

<style lang="less" scoped>
.van-nav-bar {
  background-color: RGB(33,185,122);
  /deep/ .van-icon {
    color: #fff;
  }
  /deep/ .van-nav-bar__title {
    color: #fff;
  }
}
</style>
